package com.sdsy.domain;

import java.util.Date;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.*;
import com.baomidou.mybatisplus.enums.FieldFill;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

/**
 * (EthLogin)实体类
 *
 * @author yxc
 * @since 2018-10-24 17:08:47
 */
@TableName("TD_ETH_LOGIN")
@KeySequence(value = "SEQ_ETH_LOGIN", clazz = Long.class)
public class EthLoginDO implements Serializable {
    private static final long serialVersionUID = 677384539915629251L;

    @TableId("id")
    private Long id;

    private String userName;

    private String password;

    @Version
    @TableField(fill = FieldFill.INSERT)
    private Long version;

    private Date createDate;

    private Date updateDate;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

}